package com.ctl.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;

@Data
public class VideosAllDTO{
    private UserFollowingDTO uploader;  //up 主
    private Integer id;

    /**
     * 标题
     */
    private String title;

    /**
     * 简介
     */
    private String intro;

    private String category;
    private String link;
    @JsonProperty("created_at")
    private Date createdAt;
    @JsonProperty("updated_at")
    private Date updatedAt;
    @JsonProperty("plays_count")
    private Integer playsCount;//播放次数
    @JsonProperty("likes_count")
    private Integer likesCount;//点赞次数
    private Boolean liked;  //是否点赞
    private Boolean disliked; //是否不喜欢
    private boolean favorite;  //是否收藏
}
